/*© 2010-2011 mOcean Mobile. A subsidiary of Mojiva, Inc. All Rights Reserved.*/
package com.adserver.adview.examples;

import com.adserver.adview.AdServerException;
import com.adserver.adview.AdServerView;

class AdServerSample1 extends AdServerViewSampleRunner {
    private static final int width = 320;
    private static final int height = 460;

    @Override
    protected void initAdServerView() throws AdServerException {
        adServerView = new AdServerView("5441", "9312");
        adServerView.setTest(false);
        adServerView.setPremium(AdServerView.PREMIUM_STATUS_PREMIUM);
        adServerView.setKeywords("test");
        adServerView.setMinSizeX(200);
        adServerView.setMinSizeY(40);
        adServerView.setMaxSizeX(width);
        adServerView.setMaxSizeY(height);
        adServerView.setBackgroundColor("33CCFF");
        adServerView.setTextColor("11CC22");
        adServerView.setInternalBrowser(false);
    }

    public static void main(String args[]) throws AdServerException {
        AdServerSample1 adServerSample = new AdServerSample1();
        adServerSample.initAdServerView();
        adServerSample.runSample();
    }
}